Expand description
§Rust JSON-RPC Library
Rust support for the JSON-RPC 2.0 protocol.
Re-exports§
pub extern crate base64;
pub extern crate minreq;
pub extern crate serde;
pub extern crate serde_json;
pub use http::simple_http;
simple_http
pub use http::minreq_http;
minreq_http
pub use crate::client::Client;
pub use crate::client::Transport;
pub use crate::error::Error;
Modules§
- Client support
- Error handling
- HTTP transport modules.
- simple_tcp
simple_tcp
This module implements a synchronous transport over a rawstd::net::TcpListener
. Note that it does not handle TCP over Unix Domain Sockets, seesimple_uds
for this. - simple_uds
simple_uds
and non-WindowsThis module implements a synchronous transport over a rawstd::net::TcpListener
.
Structs§
- A JSONRPC request object.
- A JSONRPC response object.
Functions§
- Shorthand method to convert an argument into a boxed
serde_json::value::RawValue
. - Shorthand method to convert an argument into a boxed
serde_json::value::RawValue
.